Schneider Electric Infrastructure reported a profit in the second quarter after winning a slew of orders following a pickup in economic activity.